package com.fhs.test.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

@Data
@TableName(value = "mobile",autoResultMap = true)
public class Mobile {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    private String mobileNumber;

    @TableField(target = Student.class)
    private Integer studentId;

    @TableField(exist = false,relation = Relation.MANY_TO_MANY)
    private Student student;
}
